package com.kmxd.ams.client.archive.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 门类配置-批量修改排序
 *
 * @author ZuoLG
 * @since 2022-07-15
 */
@Schema(description = "门类配置-批量修改排序")
@Data
public class ArchiveFieldEditSortDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 门类配置id 关联s_archive_type表主键 */
  @Schema(description = "门类配置id 关联s_archive_type表主键")
  @NotNull(message = "门类配置id 关联s_archive_type表主键不能为空")
  private Long archTypeId;

  /** 所属表名 */
  @Schema(description = "所属表名")
  private String tableId;

  /** 排序内容 */
  @Schema(description = "排序内容")
  private List<ArchiveFieldFieldSortDTO> fieldSorts;
}
